rm -r -f /local/group3705/real_db
mkdir /local/group3705/real_db
/usr/lib/postgresql/8.3/bin/initdb -D "/local/group3705/real_db"
echo host all all 192.168.54.9/24 trust >> /local/group3705/real_db/pg_hba.conf 
sed s/"\#listen_addresses = 'localhost'"/"listen_addresses = '\*'"/ /local/group3705/real_db/postgresql.conf | sed s/"\#port = 5432"/"port = 5132"/ > /local/group3705/tmp.txt
mv -f /local/group3705/tmp.txt /local/group3705/real_db/postgresql.conf
